package design.proxy.two;

import design.proxy.GoodStudent;
import design.proxy.Student;

/**
 *
 * @Author: zhenzhong.wang
 * @Time: 2018/4/10 10:46
 */
public class Main {
  public static void main(String[] args) {
    Student goodStudent = new GoodStudent();
    Student proxy = (Student) new JDKProxy(goodStudent).getProxyInstance();
    proxy.play();
  }
}
